#ifndef LIB_UTILITIES_DEBUG_H
#define LIB_UTILITIES_DEBUG_H

#ifdef DEBUG
	#define DEBUG_PRINT(X)		Serial.print(X)
	#define DEBUG_PRINTLN(X)	Serial.println(X)
	#define DEBUG_PRINTDEC(X)	Serial.print(X, DEC)
	#define DEBUG_PRINTMSG(X) \
		Serial.print(millis() / 1000.f); \
		Serial.print('\t'); \
		Serial.print(__FILE__); \
		Serial.print(':'); \
		Serial.print(__PRETTY_FUNCTION__); \
		Serial.print(" (line "); \
		Serial.print(__LINE__); \
		Serial.print(")\t"); \
		Serial.println(X);
#else
	#define DEBUG_PRINT(X)
	#define DEBUG_PRINTLN(X)
	#define DEBUG_PRINTDEC(X)
	#define DEBUG_PRINTMSG(X) 
#endif

#endif

